package com.mnb.base.controller;

import com.mnb.base.entity.CusOrimes;
import com.mnb.base.service.CusOrimesService;
import com.mnb.base.service.impl.CusOrimesServiceImpl;
import com.mnb.common.utils.R;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (cus_orimes)表控制层
 *
 * @author xxxxx
 */
@RestController
@RequestMapping("/cus_orimes")
public class CusOrimesController {
    /**
     * 服务对象
     */
    @Resource
    private CusOrimesService cusOrimesService;


    @RequestMapping("/pageList")
    public R pageList(CusOrimes cusOrimes) {
        return cusOrimesService.getList(cusOrimes);
    }

    @RequestMapping("/getOnlineStatus")
    public R getOnlineStatus(CusOrimes cusOrimes) {
        return cusOrimesService.getOnlineStatus(cusOrimes);
    }

}
